﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace PropertyGrid控件
{
    public partial class DispTextControl : UserControl
    {
        public DispTextControl()
        {
            InitializeComponent();
        }

        /// <summary>
        /// 显示文本内容
        /// </summary>
        [Browsable(true), Category("数据"), Description("显示出来的文本")]
        public string PrintText
        {
            get { return this.label1.Text; }
            set { this.label1.Text = value; }
        }

    }
}
